INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})


SET(TARGET_H
    MyProject.h
    MyDatabase.h
    MyGrib.h
)

SET(TARGET_SRC
    WeathertoyServcieController.cpp
    WeathertoyController.cpp
    plugin.cpp
    MyProject.cpp
    MyGrib.cpp
    MyDatabase.cpp
)

SET(TARGET_ADDED_LIBRARIES
    yaml-cpp
    drogon
    trantor
    OCServer
    OCGIS
    OCMain
    OCGrib
    OCNetCDF
    OCVolume
)

SETUP_GROUP()


IF(WIN32)
    SET(TARGET_EXTERNAL_LIBRARIES 
    sqlite3
    )
ENDIF(WIN32)

SETUP_PLUGIN(Project_WeathertoyApp)
SETUP_PLUGIN_DEP(Project_WeathertoyApp OCVolume)
